﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using DataAccess;

namespace Manager
{
    public partial class Default : System.Web.UI.Page
    {
        private int UserID
        {
            get
            {
                try
                {
                    return Convert.ToInt32(Session[Config.Constants.SESSION_USERID]);
                }
                catch (System.Exception)
                {
                    return 0;
                }
            }
        }

        protected void Page_Load(object sender, EventArgs e)
        {
            //if (UserID == 0)
            //{
            //    Session[Config.Constants.SESSION_CURRENT_URL] = Request.RawUrl;
            //    Response.Redirect("Login.aspx");
            //}
            if (!Page.IsPostBack)
            {
            }
        }
    }
}